package com.zhiyou100.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @author yang
 * @className Student
 * @packageName com.zhiyou100.test.test05.mybatis
 * @Description TODO mybatis student 实体类
 * @date 2020-08-12 11:15
 */
public class Student implements Serializable {
    private Integer sid;
    private String sname;
    private String sex;
    private Float score;
    private Boolean sdanYuan;
    private Integer sage;

    public Student() {
    }

    public Student(String sname, String sex, Float score, Boolean sdanYuan, Integer sage) {
        this.sname = sname;
        this.sex = sex;
        this.score = score;
        this.sdanYuan = sdanYuan;
        this.sage = sage;
    }

    public Student(Integer sid, String sname, String sex, Float score, Boolean sdanYuan, Integer sage) {
        this.sid = sid;
        this.sname = sname;
        this.sex = sex;
        this.score = score;
        this.sdanYuan = sdanYuan;
        this.sage = sage;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", sex='" + sex + '\'' +
                ", score=" + score +
                ", sdanYuan=" + sdanYuan +
                ", sage=" + sage +
                '}';
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    public Boolean getSdanYuan() {
        return sdanYuan;
    }

    public void setSdanYuan(Boolean sdanYuan) {
        this.sdanYuan = sdanYuan;
    }

    public Integer getSage() {
        return sage;
    }

    public void setSage(Integer sage) {
        this.sage = sage;
    }
}
